home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
general
/
raytrace
/
rayshade
/
ryshd40n.lha
/
Examples
/
Howdy.ray
< prev
next >
Wrap
Text File
|
1992-10-04
|
2KB
|
127 lines
#include "/defs/surface.def.ray"
screen 320 340
fov 45 34
eyep -3 -33 6
lookp .2 .2 3
background 0 0 1
sample 3
maxdepth 1
light 1 1 1 point 500 -500 500
surface this_red
ambient .5 0 0
diffuse 1 0 0
noshadow
surface neon_blue
ambient 0.0329 0.4621 0.5125
diffuse .5 .5 .5
specular .3 .3 .3
specpow 67
surface hot_pink
ambient 1.000 0.461 0.461
diffuse .4 .4 .4
specular .3 .3 .3
specpow 85
surface hot_green
ambient 0.442 1.000 0.309
diffuse .4 .4 .4
specular .3 .3 .3
specpow 70
plane red 0 0 -6.1 0 0 1
texture checker black
scale 10 10 10
sweptsph neon_blue bezier -10 0 0 0 0 15 -10 0 15 -7 0 0
1 0 0 0
rotate 0 0 1 20
sweptsph neon_blue bezier -7 0 0 -6 0 -5 -10 0 -5 -7 0 0
1 0 0 0
rotate 0 0 1 20
sweptsph neon_blue bezier -7 0 0 -1 0 5 -3 0 -3 2 0 -3
1 0 0 0
rotate 0 0 1 20
sweptsph neon_blue bezier 2 0 -3 6 0 -3 6.5 0 3 6 0 3
1 0 0 0
rotate 0 0 1 20
sweptsph neon_blue bezier 6 0 3 5.5 0 3 6 0 -3 10 0 -3
1 0 0 0
rotate 0 0 1 20
sweptsph neon_blue bezier 10 0 -3 12 0 -3 14 0 -2 13 0 0
1 -1 0 0
rotate 0 0 1 20
sphere neon_blue 1.3 6.2 0 7
rotate 0 0 1 20
#define zstep 3
list
sweptsph hot_pink
xbezier 10 10 -10 -10
ybezier 0 13.1 13.1 0
zcoeffs 0 zstep 0 0
1 0 0 0
sweptsph hot_pink
xbezier -10 -10 10 10
ybezier 0 -13.1 -13.1 0
zcoeffs zstep zstep 0 0
1 0 0 0
sweptsph hot_pink
xbezier 10 10 -10 -10
ybezier 0 13.1 13.1 0
zcoeffs (2*zstep) zstep 0 0
1 0 0 0
sweptsph hot_pink
xbezier -10 -10 10 10
ybezier 0 -13.1 -13.1 0
zcoeffs (3*zstep) zstep 0 0
1 0 0 0
sweptsph hot_pink
xbezier 10 10 -10 -10
ybezier 0 13.1 13.1 0
zcoeffs (4*zstep) zstep 0 0
1 0 0 0
sweptsph hot_pink
xbezier -10 -10 10 10
ybezier 0 -13.1 -13.1 0
zcoeffs (5*zstep) zstep 0 0
1 0 0 0
sweptsph hot_pink
xbezier 10 10 -10 -10
ybezier 0 13.1 13.1 0
zcoeffs (6*zstep) zstep 0 0
1 0 0 0
end
rotate .2 .2 1 45
translate 5 70 -4
sweptsph hot_green bezier -6 4 -3 -3 -7 -2 2 -2 -1 2 0 -1
1 0 0 0
rotate 0 0 1 20
sweptsph hot_green bezier 2 0 -1 2 2 -1 4 7 -2 8 -4 -3
1 0 0 0
rotate 0 0 1 20